Upgrade to TS 5.7.3 #15
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Remotes:
Actions:
git fetch upstreamgit checkout upstream/release-5.7and ensured it was on the commit of the release.git checkout -b branch_v5.7.3git push denolandgit checkout -b branch_v5.7.3_patchdenoland/branch_5.6.5_patchintodenoland/branch_v5.7.3_patchand squashed the commitsnpm install && npx hereby services dts-services(to build)globalsorglobalThisSymbolnot existing, it's because they're calleddenoGlobals/nodeGlobalsanddenoGlobalThisSymbol/nodeGlobalThisSymbolin this forkglobalsorglobalThisSymbolin checker.ts, update that code to be properly handled using eitherdenoGlobals/nodeGlobalsordenoGlobalThisSymbol/nodeGlobalThisSymbol(note:globalThisTyperefers to the globalthistype and not the globalglobalThistype)cp built/local/typescript.js ../deno/cli/tsc/00_typescript.jsbuilt/localto../deno/cli/tsc/dtsthen deleted files that didn't seem necessary (ex. typescript.internal.d.ts).ScriptElementKindin the ts codebase has changed and if so, align withScriptElementKindin cli/lsp/tsc.rscargo test checkandcargo test lsphttps://github.com/denoland/deno/tree/main/cli/tsc#how-to-upgrade-typescript